<?php
$tab_arr = array('help_faq','help_newbie','help_tutorial');

foreach ($tab_arr as $val)
{
	$is_cur_tab[$val] = ($pageData['ModuleName'] == $val) ? 'class="current"' : '';
}
?>
<div class="dashboard" id="dashboard">
	<ul>
		<li <?php echo $is_cur_tab['help_faq']; ?>><a href="?mod=help_faq">常见问题</a><span></span></li>
		<li <?php echo $is_cur_tab['help_newbie']; ?>><a href="?mod=help_newbie">新手指南</a><span></span></li>
		<li <?php echo $is_cur_tab['help_tutorial']; ?>><a href="?mod=help_tutorial">入门教程</a><span></span></li>
	</ul>
</div>  